package cn.szabadsag.user.service;

import cn.szabadsag.base.exception.BusinessException;
import cn.szabadsag.base.service.IBaseService;
import cn.szabadsag.user.domain.LoginInfo;
import cn.szabadsag.user.domain.dto.UserDto;

/**
 * @author yangcong
 * @date 2022年03月12日 11:44
 * @since v1.0
 */
public interface ILoginInfoService extends IBaseService<LoginInfo> {

    //  根据用户登录的账户查询用户登录数据
    LoginInfo loadByAccount(UserDto userDto) throws BusinessException;
}
